package com.xiaowen.ssyx.project.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaowen.ssyx.model.product.Category;
import com.xiaowen.ssyx.vo.product.CategoryQueryVo;

import java.util.List;

public interface CategoryService extends IService<Category> {

    /**
     * 获取商品分类分页列表
     */
    IPage<Category> selectPage(Page<Category> pageParam, CategoryQueryVo categoryQueryVo);

    /**
     * 获取全部商品分类
     */
    List<Category> findAllList();

}
